package com.yxb.cms.dao;

import com.yxb.cms.dao.expmle.TeachCourseExample;
import com.yxb.cms.domain.vo.TeachCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TeachCourseMapper {
    long countByExample(TeachCourse example);

    int deleteByExample(TeachCourseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TeachCourse record);

    int insertSelective(TeachCourse record);

    List<TeachCourse> selectByExample(TeachCourseExample example);

    TeachCourse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TeachCourse record, @Param("example") TeachCourseExample example);

    int updateByExample(@Param("record") TeachCourse record, @Param("example") TeachCourseExample example);

    int updateByPrimaryKeySelective(TeachCourse record);

    int updateByPrimaryKey(TeachCourse record);

    List<TeachCourse> selectTeachCoursePage(TeachCourse record);
}